home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6858 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.7 KB  |  42 lines

  1. Path: sun001.spd.dsccc.com!spd!jmccarty
  2. From: jmccarty@spd.dsccc.com (Mike McCarty)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Stupid Question: What does "foo" stand for?
  5. Date: 15 Feb 1996 19:44:34 GMT
  6. Organization: DSC Communications Corporation, Plano, Texas USA
  7. Message-ID: <4g02f2$i0f@sun001.spd.dsccc.com>
  8. References: <DLA6o4.8s0@bcstec.ca.boeing.com> <4fktpb$rj@news1.sunbelt.net> <sconi-1102962136100001@ip-29.newportnet.net> <31225756.66806152@netline-fddi.jpl.nasa.gov>
  9. NNTP-Posting-Host: aplo139.spd.dsccc.com
  10.  
  11. In article <31225756.66806152@netline-fddi.jpl.nasa.gov>,
  12. Kevin Quitt <kdq@emoryi.jpl.nasa.gov> wrote:
  13. )On Sun, 11 Feb 1996 21:36:09 -0800, sconi@superstore.com (Chris Tiee "Chochoni
  14. )Boboni") wrote:
  15. )
  16. )>Wait a minute. There's another dumb question I have to ask. Why? Why do
  17. )>they love to use "foo" so much?
  18. )
  19. )Do you mean the mudders or the programmers.  While I can't answer for the
  20. )warped mudders, I can answer for programmers.  Foo is the canonical variable
  21. )name - that which is used instead of a meaningful name, perhaps because there
  22. )is no meaningful name.  It's similar to using 'i' as a loop-counter variable
  23. )(i.e., laziness and/or no particular good name to use otherwise).
  24. )-- 
  25. )#include <standard.disclaimer>                   http://emoryi.jpl.nasa.gov/
  26. ) _
  27. )Kevin D Quitt  USA 91351-4454           96.37% of all statistics are made up
  28.  
  29.  
  30. I must have missed the beginning of this thread, but I'll make a stab at
  31. it. Because they can't use the real word, but like the idea of using it,
  32. so they used it. Then it caught on, and others copied it w/o knowing
  33. what it means.
  34.  
  35. I don't use it. I dislike it.
  36.  
  37. Mike
  38. ----
  39. char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
  40.  
  41. I don't speak for DSC.         <- They make me say that.
  42.